/*
 * Copyright (c) 2017. 深圳掌控网络有限公司. All rights reserved.
 */

package com.yiqi.lottery.feature.basketball.contract;

import com.suozhang.framework.entity.bo.PageData;
import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.lottery.entity.bo.BallMatchBo;
import com.yiqi.lottery.entity.bo.BallMatchBo2;

import io.reactivex.Observable;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2017/4/11 9:06
 */
public interface BasketballContract {

    interface Model {
        Observable<PageData<BallMatchBo>> getBasketballMatchList(String label);
        Observable<PageData<BallMatchBo2>> getBasketballMatchList2(String label);
    }

    interface View extends BaseView {
        void showBasketballMatchListSuccess(PageData<BallMatchBo> basketballMatchBoData);
        void showBasketballMatchListSuccess2(PageData<BallMatchBo2> basketballMatchBoData);
        void showBasketballMatchListError(String error);


    }


    interface Presenter extends BasePresenter {
        void getBasketballMatchList(String label);
    }
}
